package com.afkt.accessibility.utils;

import ohos.aafwk.content.Intent;
import ohos.utils.IntentConstants;

/**
 * 系统设置等
 */
public class SystemUtils {

    // 打开网络设置页面-其实是系统设置
    public static Intent openSystemSetting() {
        Intent intent = new Intent();
        intent.setAction(IntentConstants.ACTION_WIRELESS_SETTINGS);
        return intent;
    }

    // 应用管理页面
    public static Intent openAppSetting() {
        Intent intent = new Intent();
        intent.setAction(IntentConstants.ACTION_MANAGE_APPLICATIONS_SETTINGS);
        return intent;
    }

    // 回到桌面
    public static Intent openActionSearch() {
        Intent intent = new Intent();
        intent.setAction(IntentConstants.ACTION_SEARCH);
        return intent;
    }

    public static Intent openActionHome() {
        Intent intent = new Intent();
        intent.setAction(IntentConstants.ACTION_HOME);
        return intent;
    }

    // 拨号页面
    public static Intent openActionDial() {
        Intent intent = new Intent();
        intent.setAction(IntentConstants.ACTION_DIAL);
        return intent;
    }

    // 打开选择相册页面
    public static Intent openActionChoose() {
        Intent intent = new Intent();
        intent.setAction(IntentConstants.ACTION_HOME);
        return intent;
    }

    // 应用详情
    public static Intent openAppDetailSetting() {
        Intent intent = new Intent();
        intent.setAction(IntentConstants.ACTION_APPLICATION_DETAILS_SETTINGS);
        return intent;
    }

//    public static Intent openHidiskChoosePath() {
//        Intent intent = new Intent();
//        intent.setAction(IntentConstants.ACTION_HIDISK_CHOOSE_PATH);
//        return intent;
//    }
//
//    public static Intent openSendSms() {
//        Intent intent = new Intent();
//        intent.setAction(IntentConstants.ACTION_SEND_SMS);
//        return intent;
//    }
//
//    public static Intent openSetAlarm() {
//        Intent intent = new Intent();
//        intent.setAction(IntentConstants.ACTION_SET_ALARM);
//        return intent;
//    }
//
//    public static Intent openShowAlarms() {
//        Intent intent = new Intent();
//        intent.setAction(IntentConstants.ACTION_SHOW_ALARMS);
//        return intent;
//    }
//
//    public static Intent openSnoozeAlarm() {
//        Intent intent = new Intent();
//        intent.setAction(IntentConstants.ACTION_SNOOZE_ALARM);
//        return intent;
//    }

}